/*
 * @Author: sikonggpw 1327325804@qq.com
 * @Date: 2023-02-20 15:57:26
 * @LastEditors: sikonggpw 1327325804@qq.com
 * @LastEditTime: 2023-02-22 14:34:13
 * @FilePath: \spider-node\models.js
 * @Description: 和sequelize-auto-sql一样
 */
const initModels = require("./models/init-models")
const {Sequelize} = require('sequelize')

module.exports = initModels(new Sequelize('user', 'root', '', {
  host: 'localhost',
  dialect: 'mysql',
  directory: './models', // 指定输出目录
  additional: {
    timestamps: false // 禁用自动生成的时间戳
  }
}))
